<template>
  
<div>
  <div class="outer">
    <!-- 登陆 -->
    <div class="login">
      <div class="login_content">
        <div class="loginform">
          <ul class="tab clearFix">
            <li>
              <a href="##" style="border-right: 0">扫描登录</a>
            </li>
            <li>
              <a href="##" class="current">账户登录</a>
            </li>
          </ul>

          <div class="content">
            <form action="##">
              <div class="input-text clearFix">
                <input
                  type="text"
                  placeholder="手机号"
                  name="phone"
                />
                <!-- <span class="error-msg msg1" 
                  >必须输入11位数字</span -->
                
              </div>

              <div class="input-text clearFix">
                <input
                  type="text"
                  placeholder="请输入密码"
                  name="password"
                />
                <!-- <span class="error-msg" 
                  >密码不符合规定</span
                > -->
              </div>

              <div class="setting clearFix">
                <label class="checkbox inline">
                  <input
                    name="m1"
                    type="checkbox"

                  />
                  我已阅读并接受以下条款：
                  <a href="#">《唯品会服务条款》</a>
                  <a href="#">《唯品会隐私政策》</a>
                  <a href="#">《唯品支付用户服务协议》</a>
                </label>
                <span class="forget">忘记密码？</span>
              </div>
              <!-- <div  style="color: red" class="error">
                请同意条款
              </div> -->
              <button class="btn">登&nbsp;&nbsp;录</button>
            </form>
            <div class="call clearFix">
              <ul></ul>
              <router-link to="/register" class="register"
                >立即注册</router-link
              >
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
</template>

<script>
export default {
  name: 'Register',
}
</script>
<script>
</script>

<style lang="less" scoped>
.outer {
  .bottom {
    width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 10px;
    .logoLeft {
      float: left;
    }

    .logoRight {
      float: right;
      margin-top: 35px;
    }
  }

  .login {
    height: 650px;
    background-color: rgb(250, 168, 172);

    .login_content {
      margin: 0 auto;
      padding: 50px 20px;
      width: 1200px;
      height: 550px;
      background: url(https://b.appsimg.com/upload/momin/2020/12/14/15/1607915393371.jpg);
      background-repeat: no-repeat;
      background-position: center;

      .loginform {
        width: 420px;
        height: 406px;
        box-sizing: border-box;
        background: #fff;
        float: right;
        top: 45px;
        position: relative;
        padding: 20px;
        .tab {
          li {
            width: 50%;
            float: left;
            text-align: center;
            a {
              width: 100%;
              display: block;
              height: 50px;
              line-height: 50px;
              font-size: 20px;
              font-weight: 700;
              color: #333;
              border: 1px solid #ddd;
              box-sizing: border-box;
              text-decoration: none;
            }
            .current {
              border-bottom: none;
              border-top-color: #28a3ef;
              color: #f10180;
            }
          }
        }
        .content {
          width: 380px;
          height: 316px;
          box-sizing: border-box;
          border: 1px solid #ddd;
          border-top: none;
          padding: 18px;
          form {
            margin: 15px 0 18px 0;
            font-size: 12px;
            line-height: 18px;
            .input-text {
              margin-bottom: 22px;
              position: relative;
              text-align: center;
              i {
                float: left;
                width: 37px;
                height: 32px;
                border: 1px solid #ccc;
                // background: url(./images/icons.png) no-repeat -10px -201px;
                box-sizing: border-box;
                border-radius: 2px 0 0 2px;
              }
              .pwd {
                background-position: -72px -201px;
              }
              input {
                width: 302px;
                height: 32px;
                box-sizing: border-box;
                border: 1px solid #ccc;
                padding-top: 6px;
                padding-bottom: 6px;
                font-size: 14px;
                line-height: 22px;
                padding-right: 8px;
                padding-left: 8px;

                border-radius: 0 2px 2px 0;
                outline: none;
              }

              .error-msg {
                position: absolute;
                top: 100%;
                left: 40px;
                color: red;
              }
            }
            .setting {
              label {
                float: left;
              }
              .forget {
                float: right;
              }
            }
            .btn {
              background-color: #f10180;
              padding: 6px;
              border-radius: 0;
              font-size: 16px;
              font-family: 微软雅黑;
              word-spacing: 4px;
              border: 1px solid #f10180;
              color: #fff;
              width: 100%;
              height: 36px;
              margin-top: 25px;
              outline: none;
            }
          }
          .call {
            margin-top: 30px;
            ul {
              float: left;
              li {
                float: left;
                margin-right: 5px;
              }
            }
            .register {
              float: right;
              font-size: 15px;
              line-height: 38px;
            }
            .register:hover {
              color: #4cb9fc;
              text-decoration: underline;
            }
          }
        }
      }
    }
  }
}
</style>
